<!DOCTYPE html>
<head>
    <meta charset="utf-8">
    <title>宿舍信息上传</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/layui/css/layui.css">
</head>
<body>
<blockquote class="layui-elem-quote layui-text">
    宿舍信息添加(如果所属公寓项中无想要信息，请先添加新公寓)
</blockquote>
<form class="layui-form" action="">
    <div class="layui-form-item">
        <label class="layui-form-label">宿舍编号：</label>
        <div class="layui-input-inline">
            <input name="dormitoryCode" id="dormitoryCode" class="layui-input" type="text" placeholder="请输入编号" autocomplete="off"
                   lay-verify="required">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">所属公寓：</label>
        <div class="layui-input-block" style="width: 40%;">
            <select name="dormitoryApartment" lay-verify="required" lay-filter="apartmentName" id="apartmentName">
                <option value=""></option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">公寓状态：</label>
        <div class="layui-input-block">
            <input type="radio" name="dormitoryStatus" value="1" title="启用">
            <input type="radio" name="dormitoryStatus" value="0" title="禁用" checked>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="dormitory">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
<script src="/layui/layui.js"></script>
<script src="/js/dormitory.js"></script>
</body>
</html>